The HDF_DFR8_NIMAGES function returns the number of 8-bit images in the specified HDF file.
Result = HDF_DFR8_NIMAGES(Filename)
Returns the number of 8-bit images in the given HDF file. The function returns -1 if the specified file is invalid or damaged.
A string containing the name of the file to be read.
None
; Open the file myhdf.hdf:
h = HDF_OPEN('myhdf.hdf')
; Retrieve the number of 8-bit images in the file into a variable:
number = HDF_DFR8_NIMAGES('myhdf.hdf')
HDF_CLOSE, h ; Close the file.
4.0 |
Introduced |
HDF_DFR8_GETIMAGE, HDF_DFR8_GETINFO, HDF_DFR8_READREFHDF_DFR8_RESTART